﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models
{
    [Table("T_MaterialPackage")]
    public class MaterialPackage:BaseEntity
    {
       
        /// <summary>
        /// 物料Id
        /// </summary>
        public long? MaterialId
        {
            get;
            set;
        }

        /// <summary>
        /// 物料号
        /// </summary>
        [MaxLength(60)]
        public string MaterialCode
        {
            get;
            set;
        }

        /// <summary>
        /// 物料名称
        /// </summary>
        [MaxLength(60)]
        public string MaterialName
        {
            get;
            set;
        }

        /// <summary>
        /// 主包装单位Id
        /// </summary>
        public long? PackageUnitId
        {
            get;
            set;
        }

        /// <summary>
        /// 主包装单位
        /// </summary>
        [MaxLength(60)]
        public string PackageUnitName
        {
            get;
            set;
        }

        /// <summary>
        /// 子包装单位Id
        /// </summary>
        public long? SubPackageUnitId
        {
            get;
            set;
        }

        /// <summary>
        /// 子包装单位
        /// </summary>
        [MaxLength(60)]
        public string SubPackageUnitName
        {
            get;
            set;
        }

        /// <summary>
        /// 包装数量
        /// </summary>
        public int? ConversionFactor
        {
            get;
            set;
        }

        /// <summary>
        /// 包装等级：1-基本包装;2-二级包装；3-三级包装
        /// </summary>
        public int? PackageLevel
        {
            get;
            set;
        }

        /// <summary>
        /// 长
        /// </summary>
        public int? Length
        {
            get;
            set;
        }

        /// <summary>
        /// 宽
        /// </summary>
        public int? Width
        {
            get;
            set;
        }

        /// <summary>
        /// 高
        /// </summary>
        public int? Height
        {
            get;
            set;
        }

        /// <summary>
        /// 重量
        /// </summary>
        public int? Weight
        {
            get;
            set;
        }

        /// <summary>
        /// 体积
        /// </summary>
        public int? Volumn
        {
            get;
            set;
        }

        /// <summary>
        /// 包装描述
        /// </summary>
        public string Remark
        {
            get;
            set;
        }
    }
}
